<template>
  <div class="home">
    <el-container class="contain">
      <el-aside width="265px">
        <Side />
      </el-aside>
      <el-container class="rigth">
        <el-header style="height: 65px">
          <Header />
        </el-header>
        <el-main>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  // @ is an alias to /src

  import Side from "../components/Side.vue";
  import Header from "../components/Header.vue";

  export default {
    name: "Home",
    components: {
      // HelloWorld,
      Side,
      Header,
    },
    data() {
      return {

      }
    },
    mounted() {


    },
    computed: {},
    methods: {
      // getlisttag() {
      //   this.$http.post("/dynamic/getDynamic", {
      //     dyType: "all",
      //     state: "all",
      //     days: "all",
      //     pageNumber: 1,
      //     pageSize: 1,
      //   }).then((res) => {
      //     if (res.code == 200) {
      //       this.list = res.data;
      //       console.log(res);
      //     }
      //   });

      // },
    },
  };
</script>
<style scoped lang="scss">
  .el-header {
    background-color: #e4e4e4;
    color: #333;
    text-align: center;
    line-height: 65px;
    height: 65px;
  }

  .el-aside {
    background-color: #d3dce6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }

  .el-main {
    background-color: #fff;
    color: #333;
    height: 100vh;
    // text-align: center;
    // line-height: 160px;
  }

  .contain {
    display: flex;
  }

  .rigth {
    width: 100%;
  }

  // body > .el-container {
  //   margin-bottom: 40px;
  // }

  // .el-container:nth-child(5) .el-aside,
  // .el-container:nth-child(6) .el-aside {
  //   line-height: 260px;
  // }

  // .el-container:nth-child(7) .el-aside {
  //   line-height: 320px;
  // }
</style>